<!--
  Generated template for the LeaveNewPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
      <ion-title>请假记录</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <ion-refresher (ionRefresh)="gzqjgl.doRefresh($event)">
    <ion-refresher-content pullingIcon="arrow-dropdown"  pullingText="下拉刷新"  refreshingSpinner="circles"  refreshingText="刷新中...">
    </ion-refresher-content>
  </ion-refresher>
  <ion-list>
    <ion-item class="bhq-item" (click)="toQueryWork(item);"
      *ngFor="let item of gzqjgl.datas">
    
      <div class="bhq-item-content">
          <div class="bhq-item-info">
            <p class="bhq-item-title"><strong>{{item.sqsy | asLength:12}}({{item.qjlxname}})</strong></p>
            <p>{{item.qjrxm}}({{item.spztName}})</p>
          </div>
          <div class="bhq-item-date">
              <p>开始时间:{{item.kssj | asDate}}</p>
              <p>结束时间:{{item.jssj | asDate}}</p>
          </div>
      </div>
    </ion-item>
  </ion-list>
  <!-- 无级滚动效果实现 -->
  <ion-infinite-scroll (ionInfinite)="gzqjgl.doInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
